package at.jku.se.fastsell.data;

import java.io.Serializable;

public class User implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4587071799752437368L;
	private String name, password;
	
	public User(String name, String password){
		this.setName(name);
		this.setPassword(password);
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	// ----------------------------------------------------------------------------------
	
	@Override
	public String toString() {
		return name;
	}
}
